# ============================================================
# * Copyright © hk. 2022-2025. All rights reserved.
# * File name: CMakeLists.txt
# * Author   : 苏木
# * Date     : 2025-05-22
# * Version  : 
# * Description: cmake version 3.16.3
# ============================================================
## https://cmake.com.cn/cmake/help/latest/guide/tutorial/index.html
## https://cmake.org/cmake/help/latest/


# 将当前目录的源文件生成库, 自动扫描当前目录所有.c文件
file(GLOB LOCAL_SRCS CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/*.c")

# 生成动态库
# lib name: libfunc_version_shared.so 
# path    : build/func_version/libfunc_version_shared.so
add_library(func_version_shared SHARED ${LOCAL_SRCS})

# message(STATUS "[USER:FUNC_VERSION]This is sub dir: func_version!Found source files:${LOCAL_SRCS}") 
